export default {
    asyncChangeToast({ state,commit }, payload) {
        //显示模态框
        commit('changeToast', payload)

        // 提交到mutation中去关闭
        setTimeout(() => {
        commit('changeToast', {isShowToast:false});
        },state.showTime);
    }
}